* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body{
    min-width: 100vw;
    margin: auto;
    background: #F0F3F9;
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-color: white;
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav div img {
    width: 150px;
}

.text-boxz {
    color: #F0F3F9;
    align-items: center;
    margin-left: 0.5rem;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.image-container {
    flex-basis: 32%;
}

.image1 {
    width: 40%;
    height:  80%;
    position: absolute;
    top: 10%;
    right: 5%;
    margin: 0;
    padding: 0;
}

.image2 {
    width: 10%;
    height: 37.75rem;
    position: absolute;
    top: 0%;
    right: 33%;
    margin: 0;
    padding: 0;
}

.image3 {
    width: 18.875rem;
    height: 37.75rem;
    position: absolute;
    top: 25%;
    right: 10%;
    margin: 0;
    padding: 0;
}

.image4 {
    width: 10%;
    height: auto;
    position: absolute;
    top: 33%;
    right: 5%;
    margin: 0;
    padding: 0;
    animation: swing 2s linear infinite;
}

.image5 {
    width: 18.875rem;
    height: 37.75rem;
    position: absolute;
    top: 23%;
    right: 14.5%;
    margin: 0;
    padding: 0;
}

.image6 {
    width: 80%;
    height: auto;
    position: relative;
    bottom: 10%;
    left: 2%;
}

@keyframes swing {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10%);
    }
    100% {
      transform: translateY(0);
    }
  }
  
.text-box {
    width: 90%;
    color: #000000;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    text-align: left;
    line-height: 1.15;
    padding: 20px;
}

.text-box h1 {
    font-size: 2.625rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.text-box h3 {
    font-size: 2.625rem;
    text-align: left;
    margin-bottom: 50px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 18px;
    color: #000000;
}

.social-icons p {
    text-decoration: none;
    font-size: 30px;
    margin-right: 20px;
    margin-top: 30px;
    color: #ababab;
    display: inline-block;
}

.hero-btn {
    box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:15px 16px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}

.hero-btn:hover {
    background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
    background-color: #408c99;
}

.hero-btn:active {
    position: relative;
    top: 1px;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .image1 {
        width: 10%;
        height: auto;
        top: 55%;
        right: 25%;
    }

    .image2 {
        display: none;
    }

    .image3 {
        width: 50%;
        height: auto;
        top: 55%;
        right: 25%;
    }

    .image4 {
        width: 25%;
        height: auto;
        top: 58%;
        right: 13%;
    }

    .image5 {
        width: 50%;
        height: auto;
        top: 55%;
        right: 35%;
    }

    .text-box {
        margin-top: 12rem;
        text-align: center;
        left: 50%;
        top: 8%;
    }
    .text-box h1 {
        font-size: 1.875rem;
    }
    .text-box h3 {
        font-size: 30px;
        text-align: center;
        line-height: normal;
        margin-bottom: auto;
    }

    .text-box p {
        margin: 10px;
        font-size: 1.125rem;
        margin-top: 10%;
    }

    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: fixed;
        background: #ffffff;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: center;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: #000000;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 30px;
    }
}


/* footer */

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    flex-shrink: 0;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa {
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-star {
    color: #f44336;
}

@media(max-width: 700px) {
    .footer h4 {
        font-size: 16px;
    }

    .footer p {
        line-height: normal!important;
        font-size: 16px;
        position: relative;
        bottom: 0;
        text-align: center;
    }


    .icons .fa {
        padding: 10px 0;
    }
}

/* for  form */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
  }
  
.modal-content label {
    display: block;
    margin-bottom:.7em;
    font-weight: lighter;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  form h2 {
    align-self: center;
    justify-items: center;
    margin-bottom: 3rem;
  }

  /* for  form down */

.popupForm {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
}

  /* Styles for the progress bar template */
  #progressBar {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 20px;
    background-color: #f0f0f0;
    border: 0px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 10px 14px -7px #276873;
  }

  #progressBarFill {
    height: 100%;
    width: 100%;
    text-align: center;
    color: white;
    background-color: #4CAF50;
    animation: progressAnimationStrike 2s; /* Animation duration for progress fill */
  }

    /* Customize the progress bar fill color and style */
    #progressBarFill {
        background-color: #4CAF50; /* Green */
      }
    
      /* Customize the progress bar appearance when it's hidden */
      #progressBar.hidden {
        display: none;
      }
    
      /* Animation for the progress bar */
      @keyframes progressAnimationStrike {
        from { width: 0 }
        to   { width: 100% }
      }

.popupForm p {
    color: #000000;
    font-size: .75rem;
    text-align: center;
    padding-bottom: 0px;
}

#closeFormButton {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  form {
    display: flex;
    flex-direction: column;
  }

  form p {
    color: #000000;
    font-size: .75rem;
  }
  
  label {
    margin-bottom: 5px;
    position: relative;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .text-ib {
    color: #000000;
    font-size: .75rem;
    text-align: center;
    padding-bottom: 10px;
  }
  
  button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
  }
  
  button[type="submit"]:hover {
    background-color: #45a049;
  }
  
  @media(max-width: 700px) {
    .modal-content{
        max-width: 100%;
        margin-top: 300px;
    }

    .popupForm {
      max-width: 80%;
      top: 95%;
      left: 50%;
      transform: translate(-50%, -50%);
      position: fixed;
    }

    #progressBar {
        width: 50%;
        height:5%;
        top: 100%;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }
    button[type="submit"] {
      width: 50%;
    }
  }

  /* ALERT POP UP */

  .alert{
    background: #9c3838;
    padding: 20px 40px;
    max-width: 90%;
    position: absolute;
    right: 0;
    top: 10px;
    border-radius: 4px;
    border-left: 8px solid #7c0808;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .alert.showAlert{
    opacity: 1;
    pointer-events: auto;
  }
  .alert.show{
    animation: show_slide 1s ease forwards;
  }
  @keyframes show_slide {
    0%{
      transform: translateX(100%);
    }
    40%{
      transform: translateX(-10%);
    }
    80%{
      transform: translateX(0%);
    }
    100%{
      transform: translateX(-10px);
    }
  }
  .alert.hide{
    animation: hide_slide 1s ease forwards;
  }
  @keyframes hide_slide {
    0%{
      transform: translateX(-10px);
    }
    40%{
      transform: translateX(0%);
    }
    80%{
      transform: translateX(-10%);
    }
    100%{
      transform: translateX(100%);
    }
  }
  .alert .fa-exclamation-circle{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ce8500;
    font-size: 20px;
  }
  .alert .msg{
    padding: 0 5px;
    font-size: 13px;
    color: #ffffff;
  }
  .alert .close-btn{
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffd080;
    padding: 20px 5px;
    cursor: pointer;
  }
  .alert .close-btn:hover{
    background: #ffc766;
  }
  .alert .close-btn .fas{
    color: #ce8500;
    font-size: 22px;
    line-height: 40px;
  }

@media(max-width: 700px) {
    .alert.show{
        animation: none;
    }
    
    .alert.hide{
        animation: none;
    }
}
  